/**
 * caicongyang.com Inc.
 * Copyright (c) 2004-2017 All Rights Reserved.
 */
package com.caicongyang.design.builder;

import java.util.ArrayList;
import java.util.List;

/**
 * @author caicongyang1
 * @version id: Product, v 0.1 17/5/15 下午8:36 caicongyang1 Exp $$
 */
public class Product {
    List<String> list = new ArrayList<>();

    public void add(String part) {
        list.add(part);
    }

    public void show() {
        for (String pro : list) {
            System.out.println(pro);
        }
    }
}
